import { Schema as _Schema, model } from "mongoose";
const Schema = _Schema;

const CourseSelectionSchema = new Schema({
    course: {
        type: Schema.Types.ObjectId,
        ref: 'course',
    },
    student: {
        type: Schema.Types.ObjectId,
        ref: 'user',
    }
});

const CourseSelection = model("course_selection", CourseSelectionSchema);

export default CourseSelection;
